package com.mmlc.network.responsebean;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/8/2.
 */
public class DefaultAddressResponseBean implements Serializable {

    /**
     * code : 0
     * message :
     * data : {"id":"3","user_id":"1","is_default":"1","province_id":"23","city_id":"277","area_id":"2722","address":"小三区126号","contactor":"张三","phone":"18244233572","sort":"0","province_name":"四川省","city_name":"南充市","area_name":"顺庆区"}
     */

    private int code;
    private String message;
    /**
     * id : 3
     * user_id : 1
     * is_default : 1
     * province_id : 23
     * city_id : 277
     * area_id : 2722
     * address : 小三区126号
     * contactor : 张三
     * phone : 18244233572
     * sort : 0
     * province_name : 四川省
     * city_name : 南充市
     * area_name : 顺庆区
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "DefaultAddressResponseBean{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean implements Serializable {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", is_default='" + is_default + '\'' +
                    ", province_id='" + province_id + '\'' +
                    ", city_id='" + city_id + '\'' +
                    ", area_id='" + area_id + '\'' +
                    ", address='" + address + '\'' +
                    ", contactor='" + contactor + '\'' +
                    ", phone='" + phone + '\'' +
                    ", sort='" + sort + '\'' +
                    ", province_name='" + province_name + '\'' +
                    ", city_name='" + city_name + '\'' +
                    ", area_name='" + area_name + '\'' +
                    '}';
        }

        private String id;
        private String user_id;
        private String is_default;
        private String province_id;
        private String city_id;
        private String area_id;
        private String address;
        private String contactor;
        private String phone;
        private String sort;
        private String province_name;
        private String city_name;
        private String area_name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getIs_default() {
            return is_default;
        }

        public void setIs_default(String is_default) {
            this.is_default = is_default;
        }

        public String getProvince_id() {
            return province_id;
        }

        public void setProvince_id(String province_id) {
            this.province_id = province_id;
        }

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        public String getArea_id() {
            return area_id;
        }

        public void setArea_id(String area_id) {
            this.area_id = area_id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getContactor() {
            return contactor;
        }

        public void setContactor(String contactor) {
            this.contactor = contactor;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getProvince_name() {
            return province_name;
        }

        public void setProvince_name(String province_name) {
            this.province_name = province_name;
        }

        public String getCity_name() {
            return city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public String getArea_name() {
            return area_name;
        }

        public void setArea_name(String area_name) {
            this.area_name = area_name;
        }
    }
}
